﻿using System;
using MvcExtensions;
using Microsoft.Practices.ServiceLocation;
namespace mForum.Web.Common.BootstrapperTasks
{
    using mForum.Core.Infrastructure.IoC;

    public class RegisterIoC : BootstrapperTask
    {
        protected override TaskContinuation ExecuteCore(IServiceLocator serviceLocator)
        {
            IoC.InitializeWith(serviceLocator);

            return TaskContinuation.Continue;
        }
    }
}
